package com.xiaotu.service;

import com.xiaotu.model.VerifyCodeInfoModel;

/**
 * @author zhangxiao
 * @create 2022-03-08 16:15
 */
public interface VerifyCodeInfoService {

    String sendVerifyCode(String phone, String type);

    boolean valiCodeOverTime(String phone, String type);

    VerifyCodeInfoModel queryByPhoneAndCode(String phone, String code, String type);

    void inValidPhoneCode(String phone, String type);

}
